﻿using AopAlliance.Intercept;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Web;
using System.Text;
using System.Threading.Tasks;

namespace OpenApi
{
	/// <summary>
	/// 权限认证拦截器
	/// </summary>
	public class AopInterceptor : IMethodInterceptor
	{
		public object Invoke(IMethodInvocation invocation)
		{
			var webContext = WebOperationContext.Current;
			Console.WriteLine("auth_aop");
			return invocation.Proceed();
		}
	}
}
